<script setup lang="ts">
import { DataSelectProps } from '../type';

defineOptions({
	inheritAttrs: false,
});

const props = defineProps<DataSelectProps>();


</script>

<template>
	<unicloud-db class="w-full" v-slot:default="{ data, loading, error, options }" v-bind="props.ucloudDb">
		<n-select :options="data" :loading="loading" v-bind="$attrs" />
	</unicloud-db>
</template>
